package com.jrx.anytxn.investor.bean;

import com.jrx.anytxn.common.annotation.MethodType;
import com.jrx.anytxn.common.constant.CommonContants;
import com.jrx.anytxn.investor.entity.*;
import com.jrx.anytxn.transaction.constant.TransBizConstant;

import java.util.ArrayList;
import java.util.List;

/**
 * 日终延滞处理保存Bean
 *
 * @author liuyang
 * @date 2020-05-26
 **/
public class InvestorDelqSaveBean {
    private AmRepaymentPlanInvestorInfo updatePlan;
    private AmDelinquencyInvestorInfo insertDelq;
    private AmDelinquencyInvestorInfo updateDelq;
    private AmLoanAccountInvestorInfo updateLoan;
    private List<AmInterestAccrualInvestorInfo> accrualList = new ArrayList<>();
    private List<AmAccountMainInvestorInfo> updateAcctList = new ArrayList<>();

    @MethodType(CommonContants.METHOD_TYPE_UPDATE)
    public AmRepaymentPlanInvestorInfo getUpdatePlan() {
        return updatePlan;
    }

    @MethodType(CommonContants.METHOD_TYPE_SAVE)
    public AmDelinquencyInvestorInfo getInsertDelq() {
        return insertDelq;
    }

    @MethodType(CommonContants.METHOD_TYPE_UPDATE)
    public AmDelinquencyInvestorInfo getUpdateDelq() {
        return updateDelq;
    }

    @MethodType(CommonContants.METHOD_TYPE_SAVE)
    public List<AmInterestAccrualInvestorInfo> getAccrualList() {
        return accrualList;
    }

    @MethodType(CommonContants.METHOD_TYPE_UPDATE)
    public AmLoanAccountInvestorInfo getUpdateLoan() {
        return updateLoan;
    }

    @MethodType(CommonContants.METHOD_TYPE_UPDATE)
    public List<AmAccountMainInvestorInfo> getUpdateAcctList() {
        return updateAcctList;
    }

    public void setUpdatePlan(AmRepaymentPlanInvestorInfo updatePlan) {
        this.updatePlan = updatePlan;
    }

    public void setInsertDelq(AmDelinquencyInvestorInfo insertDelq) {
        this.insertDelq = insertDelq;
    }

    public void setUpdateDelq(AmDelinquencyInvestorInfo updateDelq) {
        this.updateDelq = updateDelq;
    }

    public void setAccrualList(List<AmInterestAccrualInvestorInfo> accrualList) {
        this.accrualList = accrualList;
    }

    public void setUpdateLoan(AmLoanAccountInvestorInfo updateLoan) {
        this.updateLoan = updateLoan;
    }

    public void setUpdateAcctList(List<AmAccountMainInvestorInfo> updateAcctList) {
        this.updateAcctList = updateAcctList;
    }
}
